package com.dmw.month_lx.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.dmw.month_lx.entity.Organization;
import com.dmw.month_lx.entity.PayBill;

public interface PayBillService {

	//添加发薪单表
	void insertPayBill(PayBill bill);
	
	//查询组织架构表
	List<Organization> selectOrganization(Organization organ);
	
	//列表查询
	PageInfo<PayBill> selectPayBill(Integer pageNum,Integer pageSize,PayBill bill);
	
	//删除主表
	int deletePayBill(Integer id);
	
	//根据id查询
	PayBill selectPayBillById(Integer id);
	
	//修改主表
	void updatePayBill(PayBill bill);
}
